crypto/internal/fips140/ecdsa.PrivateKey.d (field)
11 uses
crypto/internal/fips140/ecdsa (current package)
cast.go#L32: d: []byte{
cast.go#L57: drbg := newDRBG(sha512.New, k.d, bits2octets(P256(), hash), nil)
cast.go#L123: drbg := newDRBG(sha512.New, k.d, bits2octets(P256(), hash), nil)
ecdsa.go#L24: d []byte // bigmod.(*Nat).Bytes output (same length as the curve order)
ecdsa.go#L28: return priv.d
ecdsa.go#L168: priv := &PrivateKey{pub: *pub, d: d.Bytes(c.N)}
ecdsa.go#L204: d: k.Bytes(c.N),
ecdsa.go#L286: Z := make([]byte, len(priv.d))
ecdsa.go#L297: drbg := newDRBG(h, Z, nil, blockAlignedPersonalizationString{priv.d, bits2octets(c, hash)})
ecdsa.go#L313: drbg := newDRBG(h, priv.d, bits2octets(c, hash), nil) // RFC 6979, Section 3.3
ecdsa.go#L359: s, err := bigmod.NewNat().SetBytes(priv.d, c.N)